//
//  YZBaseAutoCell.m
//  VET
//
//  Created by Lam BG on 2018/7/14.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import "YZBaseAutoCell.h"

#import "YZAutoRowModel.h"

@interface YZBaseAutoCell ()

@property (weak, nonatomic) IBOutlet UIView *unEditView;

@end

@implementation YZBaseAutoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setRowModel:(YZAutoRowModel *)rowModel {
    
    _rowModel = rowModel;
    // isUnEdit YES:不能编辑 / NO:可以编辑
    self.userInteractionEnabled = !rowModel.isUnEdit;
    [self setupCellView];
}

- (void)setupCellView {}

@end
